#ifndef __ADPM_SERVER_H__
#define __ADPM_SERVER_H__

#include "fs.h"
#include "types.h"


int adpm_server_get_base_info(unsigned long name_hash, struct adpm_file_base_info *bi);
int adpm_server_update(long old_ver, long new_ver, struct adpm_client_file *f);
int adpm_server_create(char *name, struct adpm_file_base_info *bi, long size);
int adpm_server_get_page(struct adpm_client_file *          f, struct adpm_page *pg, long pgoff);



#endif
